package com.javaweb.service;

import com.javaweb.model.Article;
import com.javaweb.service.dto.ArticleConditionDto;
import com.javaweb.service.dto.ArticleUpdateDto;
import com.javaweb.service.dto.PageResult;

import java.util.List;

public interface ArticleService {

    public int publishArticle(String userId, String articleId) ;

    List<Article> queryByArticleCondition(ArticleConditionDto articleCond);

    Integer addArticle(Article article);

    Integer updateArticle(ArticleUpdateDto articleUpdateDto);

}
